package com.example.onlyoffice;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author alexzshl
 * @since 2022/2/16 23:44
 */
@Data
@NoArgsConstructor
public class R {
    private String error;

    public R(String error) {
        this.error = error;
    }

    public static R OK() {
        return new R("0");
    }

    public static R ERROR() {
        return new R("-1");
    }
}
